<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page isELIgnored="false"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1.0, maximum-scale=1.0" />
<title>用户账号管理</title>
<%@ include file="../common/_head_include.jsp" %>

<style>

</style>

</head>
<body>
<%@ include file="../common/_page_header.jsp" %>

<div id="g_content"><!-- do NOT change it. It's part of the global page structure. -->

<%@ include file="../common/_page_menubar.jsp" %>

<div id="g_workspace"><!-- do NOT change it. It's part of the global page structure. -->

<h3 style="display:inline">用户账号管理</h3>
<select id="selectActive">
  <option value ="" selected="selected">all</option>
  <option value="true">active</option>
  <option value="false">inactive</option>
</select>

<input id="btnFilter" type="button" value="筛选"/>
<span id="bthAdd" class="clickable">新增用户</span>
<br/><br/>

<table id="tableUsers" class="simpleDataGrid">
	<thead><tr><th>id</th><th>登录名</th><th>显示名称</th><th>active</th><th></th></tr></thead>
	<tbody>
	</tbody>
</table>
<br/>
<p id="txtCountSummary"></p>
<br/>

<p id="txtMessage"></p>

<div id="dialogAdd" title="创建用户" style="display:none;">
	<br/>
	<label for="loginName">登录名：</label>
	<input type="text" id="loginName" maxlength="16" class="text ui-widget-content ui-corner-all"><br/><br/>
	<label for="showName">显示名：</label>
	<input type="text" id="showName" maxlength="16" class="text ui-widget-content ui-corner-all"><br/><br/>
	<label for="password">密码：</label>
	<input type="text" id="password" maxlength="16" class="text ui-widget-content ui-corner-all"><br/><br/>
</div>

<div id="dialogEdit" title="修改用户信息" style="display:none;">
	<input type="hidden" id="id"/>
	<br/>
	<label>登录名：</label>
	<span id="loginName"></span><br/><br/>
	<label for="showName">显示名：</label>
	<input type="text" id="showName" maxlength="16" class="text ui-widget-content ui-corner-all"><br/><br/>
	<label for="active">active：</label>
	<select id="active">
		<option value="true">true</option>
		<option value="false">false</option>
	</select>
</div>

<div id="dialogPasswd" title="设置密码" style="display:none;">
	<input type="hidden" id="id"/>
	<br/>
	<label>登录名：</label>
	<span id="loginName"></span><br/><br/>
	<label>显示名：</label>
	<span id="showName"></span><br/><br/>
	<label for="password">新密码：</label>
	<input type="text" id="password" maxlength="16" class="text ui-widget-content ui-corner-all"><br/><br/>
</div>


<script type="text/javascript" src="<%=request.getContextPath() %>/js/masterdata/user_list.js"></script>


</div>
</div>
<%@ include file="../common/_page_footer.jsp" %>
</body>
</html>